package com.example.monitor.model.VO;

import lombok.Data;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

@Data
public class SystemSettingsUpdateVO {
    @Min(value = 1, message = "视频存储天数最小为1天")
    private Integer videoStorageDuration;

    @NotNull(message = "保存频率不能为空")
    private String saveFrequency;

    @NotEmpty(message = "报警提醒方式不能为空")
    private List<String> alarmReminders;

    @Min(value = 1, message = "日志存储天数最小为1天")
    private Integer logStorageDuration;

    @NotNull(message = "备份频率不能为空")
    private String backupFrequency;
}